Bookly\Lib\CartItem B

Total Complexity 77
Dependencies 13
Dependents 4
Total lines 720
Lines of code 255
Logical lines of code 127
Comment lines 298
Methods 52
Properties 19

Methods 52

Method Rating Maintainability Complexity Lines of code
getServicePriceWithoutExtras()
A
45 11 40
distributeExtrasAcrossSlots()
S
53 5 22
getDeposit()
S
58 5 14
toBePutOnWaitingList()
S
63 5 10
getExtrasDuration()
S
73 2 5
setData()
S
71 2 6
getStaffId()
S
77 2 3
getTimeTo()
S
82 1 3
setTimeFrom()
S
77 1 4
getTimeFrom()
S
82 1 3
getDays()
S
82 1 3
setDays()
S
77 1 4
getExtras()
S
82 1 3
setDateFrom()
S
77 1 4
getDateFrom()
S
82 1 3
setUnits()
S
77 1 4
setTimeTo()
S
77 1 4
__construct()
S
98 1 1
setExtras()
S
77 1 4
getSlots()
S
82 1 3
setSlots()
S
77 1 4
setNumberOfPersons()
S
77 1 4
getCustomFields()
S
82 1 3
setCustomFields()
S
77 1 4
getSeriesUniqueId()
S
81 1 3
setSeriesUniqueId()
S
77 1 4
getFirstInSeries()
S
82 1 3
setFirstInSeries()
S
77 1 4
getUnits()
S
82 1 3
setCartTypeId()
S
77 1 4
getNumberOfPersons()
S
82 1 3
getAppointmentId()
S
82 1 3
getAppointment()
S
79 1 3
getService()
S
79 1 3
getServicePrice()
S
71 1 5
getDepositPrice()
S
74 1 4
getStaff()
S
79 1 3
isFirstSubService()
S
79 1 3
getType()
S
82 1 3
setType()
S
77 1 4
setAppointmentId()
S
77 1 4
setStaffIds()
S
77 1 4
getBookingNumber()
S
82 1 3
setBookingNumber()
S
77 1 4
getLocationId()
S
82 1 3
setLocationId()
S
77 1 4
getServiceId()
S
82 1 3
setServiceId()
S
77 1 4
getCartTypeId()
S
82 1 3
getData()
S
80 1 3
getStaffIds()
S
82 1 3
setConsiderExtrasDuration()
S
77 1 4